#pragma once

namespace adas {

class Point final {
public:
    Point(int x = 0, int y = 0) noexcept : x(x), y(y) {}

    Point& operator+=(const Point& rhs) noexcept {
    x += rhs.x;
    y += rhs.y;
    return *this;
}

Point& operator-=(const Point& rhs) noexcept {
    x -= rhs.x;
    y -= rhs.y;
    return *this;
}


    int GetX() const noexcept { return x; }
    int GetY() const noexcept { return y; }

private:
    int x;
    int y;
};

} // namespace adas

